package com.scau.meetingbook.mapper;

import com.scau.meetingbook.pojo.RoomEquipment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 会议室设备表 Mapper 接口
 * </p>
 *
 * @author scau
 * @since 2025-06-07
 */
public interface RoomEquipmentMapper extends BaseMapper<RoomEquipment> {
    @Select("SELECT * FROM room_equipment WHERE room_id = #{roomId}")
    List<RoomEquipment> findByRoomId(@Param("roomId") Integer roomId);
}
